package com.yayan.beautyclub.service;

import java.util.List;
import java.util.Map;

import com.yayan.beautyclub.bean.Keep;

public interface IKeepService {

	/**
	 * 根据用户Id分页获取用户的收藏
	 * @param uId
	 * @param page
	 * @param size
	 * @return
	 */
	public List<Map<String, Object>> getKeepByUserId(long uId, int page, int size);
	
	/**
	 * 根据收藏Id获取该收藏具体信息
	 * @param kId
	 * @return
	 */
	public Map<String, Object> getKeepByKeepId(long kId);
	
	/**
	 * 保存用户收藏
	 * @param keep
	 * @return
	 */
	public long saveKeep(Keep keep);
	
	/**
	 * 删除用户收藏
	 * @param kId
	 * @return
	 */
	public boolean deleteKeep(long kId);
}
